package com.liezh.bridge;

/**
 * 抽象行为接口，定义行为
 */
public interface FileUploader {

    Object upload(String path, Object file);

    boolean check(Object file);

    default boolean delete(String key) {
        throw new RuntimeException("当前文件上传组件，不支持删除功能");
    }

}
